package com.simplewallet.domain;

/**
Author: Michael Jun Young Bae 2012
 */

import java.io.Serializable;
import java.util.Date;


public class UserInfo implements Serializable{

	private long password;
	private String username;
	private Date monthlyCycleDate;
	private long monthlyAllowance;
	
	public UserInfo(String name, long pw, Date cycleDate, long monthlyAmount){
		username = name;
		password = pw;
		monthlyCycleDate = cycleDate;
		monthlyAllowance = monthlyAmount;
	}
	
	public long getPassword() {
		return password;
	}
	public void setPassword(long password) {
		this.password = password;
	}
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}


	public Date getMonthlyCycleDate() {
		return monthlyCycleDate;
	}
	public void setMonthlyCycleDate(Date monthlyCycleDate) {
		this.monthlyCycleDate = monthlyCycleDate;
	}


	public long getMonthlyAllowance() {
		return monthlyAllowance;
	}
	public void setMonthlyAllowance(long monthlyAllowance) {
		this.monthlyAllowance = monthlyAllowance;
	}
	
}
